package com.dy.system.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.dy.common.annotation.Excel;
import com.dy.common.core.domain.BaseEntity;

/**
 * 【请填写功能名称】对象 mobile_note
 *
 * @author anps
 * @date 2022-08-04
 */
public class MobileNote extends BaseEntity{
    private static final long serialVersionUID = 1L;

    /** 短信消息唯一键 */
    private Long id;

    /** 发送者id */
    @Excel(name = "发送者id")
    private Long userId;

    /** 发送内容 */
    @Excel(name = "发送内容")
    private String content;

    /** 接收者 */
    @Excel(name = "接收者")
    private String receiver;

    /** 发送状态 */
    @Excel(name = "发送状态")
    private String status;

    private String sendUserName;

    private String receivePhone;

    public void setId(Long id){
        this.id = id;
    }

    public Long getId(){
        return id;
    }
    public void setUserId(Long userId){
        this.userId = userId;
    }

    public Long getUserId(){
        return userId;
    }
    public void setContent(String content){
        this.content = content;
    }

    public String getContent(){
        return content;
    }
    public void setReceiver(String receiver){
        this.receiver = receiver;
    }

    public String getReceiver(){
        return receiver;
    }
    public void setStatus(String status){
        this.status = status;
    }

    public String getStatus(){
        return status;
    }


    public String getSendUserName() {
        return sendUserName;
    }

    public void setSendUserName(String sendUserName) {
        this.sendUserName = sendUserName;
    }

    public String getReceivePhone() {
        return receivePhone;
    }

    public void setReceivePhone(String receivePhone) {
        this.receivePhone = receivePhone;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("userId", getUserId())
            .append("content", getContent())
            .append("createTime", getCreateTime())
            .append("updateTime", getUpdateTime())
            .append("receiver", getReceiver())
            .append("status", getStatus())
            .toString();
    }
}
